import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Login from '@/components/Login'
import She from '@/components/She'
import Indexs from '@/components/Indexs'

import Paper_add_new from '@/components/addpaper/Paper_add_new'
import Paper_add from '@/components/addpaper/Paper_add'
import Examadmin_add from '@/components/addpaper/Examadmin_add'
import kaoshi from '@/components/addpaper/kaoshi'
import Select_papers from '@/components/addpaper/Select_papers'
// import Fileadd from '@/components/addpaper/Fileadd'
import Add_paper from '@/components/addpaper/Add_paper'
import Edit_test_paper from '@/components/addpaper/Edit_test_paper'



Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'Indexs',
      component: Indexs
    },
    {
      path: '/home*',
      name: 'Home',
      component: Home
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/she',
      name: 'She',
      component: She
    },
    {
      path: '/paper_add_new',
      name: 'Paper_add_new',
      component: Paper_add_new
    },{
      path: '/paper_add',
      name: 'Paper_add',
      component: Paper_add
    },
    {
      path: '/examadmin_add',
      name: 'Examadmin_add',
      component: Examadmin_add
    },

    {
      path: '/kaoshi',
      name: 'kaoshi',
      component: kaoshi
    },
    {
      path: '/select_papers',
      name: 'Select_papers',
      component: Select_papers
    },
    
    // {
    //   path: '/fileadd',
    //   name: 'Fileadd',
    //   component: Fileadd
    // },
    {
      path: '/add_paper',
      name: 'Add_paper',
      component: Add_paper
    },
    
    {
      path: '/edit_test_paper',
      name: 'Edit_test_paper',
      component: Edit_test_paper
    },

  ]
})
